package com.gongzonqiang.exception;

import com.gongzonqiang.myenum.UserEnum;

public class UserException extends BaseException {


	public UserException(Integer code, String msg) {
		super(code, msg);
	}
	
	public UserException(UserEnum userEnum) {
		super(userEnum.getCode(), userEnum.getMessage());
	}
}
